import request from '../utils/request'

export function list(params) {
    return request({
        url: '/admin/emptyBarrel/list',
        method: 'get',
        params: params
    })
}

export function addEmptyBarrel(data) {
  return request({
    url: '/admin/emptyBarrel/addEmptyBarrel',
    method: 'post',
    data: data
  })
}

export function decEmptyBarrel(data) {
  return request({
    url: '/admin/emptyBarrel/decEmptyBarrel',
    method: 'post',
    data: data
  })
}

export function summary(params) {
  return request({
    url: '/admin/emptyBarrel/summary',
    method: 'post',
    params: params
  })
}

